var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); function jobman_apply_filter() { var ii, field, value, type; var empty = new Array(); for( ii = 0; ii < jobman_mandatory_ids.length; ii++ ) { field = jQuery('[name^="jobman-field-' + jobman_mandatory_ids[ii] + '"]'); // jQuery 1.6 introduces .prop(), and breaks .attr() backwards compatibility // TODO: Remove the .attr() code when we stop suporting jQuery < 1.6 if( typeof field.prop == 'function' ) { value = field.prop('value'); type = field.prop('type'); } else { value = field.attr('value'); type = field.attr('type'); } if( 1 == field.length && '' == value ) { empty.push( jobman_mandatory_labels[ii] ); } if( 'radio' == type || 'checkbox' == type ) { var checked = false; for( var jj = 0; jj < field.length; jj++ ) { if( field[jj].checked ) { checked = true; break; } } if( ! checked ) { empty.push( jobman_mandatory_labels[ii] ); } } } if( empty.length > 0 ) { var error = jobman_strings['apply_submit_mandatory_warning'] + ":\n"; for( ii = 0; ii < empty.length; ii++ ) { error += empty[ii] + "\n"; } alert( error ); return false; } else { return true; } } } /* FILE ARCHIVED ON 04:12:50 Feb 26, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 03:24:15 Apr 28, 2026. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): capture_cache.get: 0.376 load_resource: 638.429 PetaboxLoader3.resolve: 372.137 PetaboxLoader3.datanode: 255.645 (2) loaddict: 210.283 */